﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core;
using System.Data;

namespace Data.DBOES
{
    [TableAttribute("Language")]
    [Serializable]
    public class Language:DBO<Language>
    {
     
        private int? _IdLanguage;
        [ColumnAttribute("IdLanguage", SqlDbType.Int, 4, true, true, false)]
        public int? IdLanguage
        {
            get { return _IdLanguage; }
            set { _IdLanguage = value; }
        }
        private string _LanguageName;
        [ColumnAttribute("LanguageName", SqlDbType.NVarChar, 300, false, false, true)]
        public string LanguageName
        {
            get { return _LanguageName; }
            set { _LanguageName = value; }
        }
        private string _IconLanguage;
        [ColumnAttribute("IconLanguage", SqlDbType.NVarChar, 300, false, false, true)]
        public string IconLanguage
        {
            get { return _IconLanguage; }
            set { _IconLanguage = value; }
        }
        private Boolean? _IsActive;
        [ColumnAttribute("IsActive", SqlDbType.Bit, 1, false, false, true)]
        public Boolean? IsActive
        {
            get { return _IsActive; }
            set { _IsActive = value; }
        }
        private DateTime? _CreateDate;
        [ColumnAttribute("CreateDate", SqlDbType.DateTime, 8, false, false, true)]
        public DateTime? CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        public Language()
        { }
        public Language(int? IdLanguage)
        {
            this.IdLanguage = IdLanguage;
        }
        public Language(int? IdLanguage, string LanguageName, string IconLanguage, Boolean? IsActive, DateTime? CreateDate)
        {
            this.IdLanguage = IdLanguage;
            this.LanguageName = LanguageName;
            this.IconLanguage = IconLanguage;
            this.IsActive = IsActive;
            this.CreateDate = CreateDate;

        }
    }
}
